<template>
    <lightning-card
        title="Workspace API"
        icon-name="standard:scheduling_workspace"
    >
        <div class="slds-text-align_center slds-var-m-around_medium">
            <template lwc:if={isConsoleNavigation}>
                Open the Workspace API examples in a new tab by clicking on this
                button:
                <p class="slds-var-m-around_medium">
                    <lightning-button
                        label="Take me there!"
                        onclick={navigateToWorkspaceAPIExamples}
                    ></lightning-button>
                </p>
            </template>
            <template lwc:else>
                To see the Workspace API examples in action, open the "LWC
                Recipes Console App".
            </template>
        </div>
    </lightning-card>
</template>
